package java7.switchStr;

public class Basic {
	//java7以前case里面不能是string
	public static void main(String[] args) {
		String str="ca";
		switch (str) {
		case "ca":
			System.out.println("haha");
			break;
		default:
			break;
		}
	}
}
